{include file="comm/left"}
<body>
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>权限管理</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" id="commentForm" action="{:url('index/admin/adminaddfrom')}" method="post"  enctype="multipart/form-data">
                <div class="form-group">
                    <label class="col-sm-3 control-label">选择子管理员：</label>
                    <div class="col-sm-9">
                        <select class="form-control" name="adminid">
                            {volist name="user" id="v"}
                            <option value="{$v.id}" {if $Think.get.id==$v.id} selected="selected" {/if}>{$v.account}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
                <div class="col-md-12">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">选择管理组：</label>
                        <div class="col-sm-9">
                            {volist name="group" id="k"}
                            <label class="checkbox-inline">
                                <input type="checkbox" value="{$k.id}" {if in_array($k.id,$ids)} checked="checked" {/if} id="inlineCheckbox1" name="groupid[]">{$k.title}
                            </label>
                            {/volist}
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit" name="submit">确认</button>
                    </div>
                </div>
            </form>
        </div>
    </div >
</div>
</body>